<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>

<head>
	<title>Rapid Prodotyping Demo</title>
	<script type="text/javascript" src="jquery-1.3.2.min.js"></script>
	<script type="text/javascript" src="rp.js"></script>
	
	<script type="text/javascript">
		
		$(Generate);
		
		function Generate()
		{
			RenderData(new Language());
			RenderData(new GermanLanguage());
		}
		
		function RenderData(language)
		{		
			var data = $(".data");
			
			data.append('<tr><td colspan=\"2\"><span style=\'font-weight:bold;\'>' + language.Desc() + '</span></td></tr>');
			
			for (var i=0; i<20; i++)
			{
				data.append('<tr><td>' + language.Name() + '</td><td>' + language.Number(2000) + '</td></tr>');
			}
		}
		
		
		
	</script>
</head>

<body>
	<h1>Rapid Prototyping Demo</h1>
	
	<h2>Data:</h2>
	<table class="data">
		<tr>
			<th>Name</th><th>Number</th>
		</tr>
	</table>
</body>

</html>